In order to build an SNMP Agent, the Shared Library Manager is required. For more detailed documentation on the Shared Library Manager, look on E.T.O. CD ROM #9 or later. Please be careful: the only Shared Library Manager calls guaranteed to be compatible with future versions are those used by the Sample SNMP Agent on this disk. If your agent requires more of the Shared Library Manager calls, please contact Apple Developer Technical Support (DTS).
Using the SNMPAgentTool
-----------------------
The SNMPAgentTool is a stand-alone application that allows you to load and unload SNMP agents. To use the tool, follow these steps:
1. Drag the tool from the MacSNMP Developer disk to your hard disk and launch it. A window will appear containing the following text:
Function desired ( A[ddAgent] , R[emoveAgent] , or Q[uit] ):
2. To add an agent type a or addagent (not case sensitive) and press Return. The following line will appear:
Agent Class desired :
3. Type the name of the agent's class. For the sample agent, the class is TSampleSNMPAgent. (Note: The class name is case sensitive.) The following response will appear:
### Agent is not present.
### Creating "snmp:agt$TSampleSNMPAgent".
### Agent pointer is 0008F314
(Note: The pointer value will vary.)
4. To remove an agent type r or removeagent and press Return. The following line will appear:
Agent Class desired :
5. Type the name of the agent's class. The following response will appear:
### Found agent "snmp:agt$TSampleSNMPAgent".
### Agent "snmp:agt$TSampleSNMPAgent" has been removed.
Other tools and libraries
----------------------
1. DrWatson - A tool that allows an SNMP agent to be queried over the network.
2. SNMPAgentTool - A tool used to load and unload agents for testing purposes.
3. SNMP TCP/IP Transport - Allows SNMP to work with MacTCP. You need to place this in your Extensions folder to use SNMP over the TCP/IP network.
MacSNMP Release Notes (v 1.0.2)
===============================
*** READ THIS ****
In order to preserve the setting of communities, password, trap table, etc…, the SNMP Preferences file has to be dragged outside the Extensions Folder before installing a new version of MacSNMP, and dragged back inside that folder upon completion of the installation.
BUG FIXES
---------
• MacSNMP Admin and MacSNMP Client:
Closing the community window sometimes crashed the MacSNMP Admin and MacSNMP Client.
• SNMP Macintosh Agent:
GetNext on the last element of one of the SystemFileTable's columns did not return the first element of the ApplTable.
SNMP Macintosh Agent now returns an INTEGER instead of a COUNTER for SystemFileTable.FileEntry.fileSize.
SNMP Macintosh Agent now returns an INTEGER instead of a COUNTER for ApplTable.ApplEntry.applSize.
• Macintosh System MIB:
SystemFileTable.FileEntry.fileSize is now defined as INTEGER.
ApplTable.ApplEntry.applSize is now defined as INTEGER.
TrapTable.trapProtocol is now defined as Macintosh Display String.